home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / tex / ifthen.sty < prev    next >
LaTeX Document  |  1986-12-16  |  1.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: ifthen.sty

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert DirectMusic Style (music/directMusicStyle) ext Unsupported
1% dexvert Microsoft Word Style Sheet (other/microsoftWordStyleSheet) ext Unsupported
1% dexvert Grand Theft Auto 2 Style data (other/grandTheftAuto2StyleData) ext Unsupported
1% dexvert KORG File (other/korgFile) ext Unsupported
1% dexvert MAGIX music studio Style (other/magixMusicStudioStyle) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX auxiliary file default
99% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 69 66 74 68 65 6e | 2e 73 74 79 20 32 38 2d |% ifthen|.sty 28-|
|00000010| 4f 63 74 2d 38 36 0a 0a | 5c 6c 6f 6e 67 5c 64 65 |Oct-86..|\long\de|
|00000020| 66 5c 69 66 74 68 65 6e | 65 6c 73 65 23 31 23 32 |f\ifthen|else#1#2|
|00000030| 23 33 7b 5c 73 65 74 62 | 6f 78 5c 40 74 65 6d 70 |#3{\setb|ox\@temp|
|00000040| 62 6f 78 61 0a 20 5c 76 | 62 6f 78 7b 5c 6c 65 74 |boxa. \v|box{\let|
|00000050| 5c 70 72 6f 74 65 63 74 | 5c 6e 6f 65 78 70 61 6e |\protect|\noexpan|
|00000060| 64 0a 20 5c 6c 65 74 5c | 6f 72 5c 40 6f 72 20 5c |d. \let\|or\@or \|
|00000070| 6c 65 74 5c 61 6e 64 5c | 40 61 6e 64 20 5c 6c 65 |let\and\|@and \le|
|00000080| 74 5c 6e 6f 74 5c 40 6e | 65 67 20 5c 6c 65 74 5c |t\not\@n|eg \let\|
|00000090| 28 5c 40 6c 70 61 72 65 | 6e 20 5c 6c 65 74 5c 29 |(\@lpare|n \let\)|
|000000a0| 5c 40 72 70 61 72 65 6e | 0a 20 7b 5c 6c 65 74 5c |\@rparen|. {\let\|
|000000b0| 69 66 5c 72 65 6c 61 78 | 5c 6c 65 74 5c 69 66 78 |if\relax|\let\ifx|
|000000c0| 5c 72 65 6c 61 78 5c 6c | 65 74 5c 69 66 6e 75 6d |\relax\l|et\ifnum|
|000000d0| 5c 72 65 6c 61 78 5c 6c | 65 74 5c 66 69 5c 72 65 |\relax\l|et\fi\re|
|000000e0| 6c 61 78 0a 20 5c 6c 65 | 74 5c 65 6c 73 65 5c 72 |lax. \le|t\else\r|
|000000f0| 65 6c 61 78 20 5c 78 64 | 65 66 5c 40 67 74 65 6d |elax \xd|ef\@gtem|
|00000100| 70 61 7b 23 31 7d 7d 5c | 65 78 70 61 6e 64 61 66 |pa{#1}}\|expandaf|
|00000110| 74 65 72 0a 20 5c 40 65 | 76 61 6c 20 5c 69 66 6e |ter. \@e|val \ifn|
|00000120| 75 6d 20 5c 40 67 74 65 | 6d 70 61 5c 72 65 6c 61 |um \@gte|mpa\rela|
|00000130| 78 20 5c 64 65 66 5c 40 | 74 65 72 6d 7b 54 7d 5c |x \def\@|term{T}\|
|00000140| 65 6c 73 65 20 5c 64 65 | 66 5c 40 74 65 72 6d 7b |else \de|f\@term{|
|00000150| 46 7d 5c 66 69 0a 20 5c | 40 65 6e 64 65 76 61 6c |F}\fi. \|@endeval|
|00000160| 5c 67 6c 6f 62 61 6c 5c | 6c 65 74 5c 40 67 74 65 |\global\|let\@gte|
|00000170| 6d 70 61 5c 40 76 61 6c | 7d 5c 69 66 5c 40 67 74 |mpa\@val|}\if\@gt|
|00000180| 65 6d 70 61 20 54 23 32 | 5c 65 6c 73 65 23 33 5c |empa T#2|\else#3\|
|00000190| 66 69 7d 0a 5c 64 65 66 | 5c 40 65 76 61 6c 7b 5c |fi}.\def|\@eval{\|
|000001a0| 64 65 66 5c 40 76 61 6c | 7b 46 7d 5c 64 65 66 5c |def\@val|{F}\def\|
|000001b0| 40 6f 72 6f 70 7b 54 7d | 5c 64 65 66 5c 40 6e 65 |@orop{T}|\def\@ne|
|000001c0| 67 61 74 65 7b 46 7d 7d | 0a 5c 64 65 66 5c 40 65 |gate{F}}|.\def\@e|
|000001d0| 6e 64 65 76 61 6c 7b 5c | 69 66 5c 40 6e 65 67 61 |ndeval{\|if\@nega|
|000001e0| 74 65 20 54 5c 64 65 66 | 5c 40 6e 65 67 61 74 65 |te T\def|\@negate|
|000001f0| 7b 46 7d 5c 69 66 5c 40 | 74 65 72 6d 20 54 5c 64 |{F}\if\@|term T\d|
|00000200| 65 66 5c 40 74 65 72 6d | 7b 46 7d 5c 65 6c 73 65 |ef\@term|{F}\else|
|00000210| 20 0a 20 5c 64 65 66 5c | 40 74 65 72 6d 7b 54 7d | . \def\|@term{T}|
|00000220| 5c 66 69 5c 66 69 0a 20 | 5c 69 66 5c 40 6f 72 6f |\fi\fi. |\if\@oro|
|00000230| 70 20 54 5c 69 66 5c 40 | 76 61 6c 20 46 5c 6c 65 |p T\if\@|val F\le|
|00000240| 74 5c 40 76 61 6c 5c 40 | 74 65 72 6d 5c 66 69 0a |t\@val\@|term\fi.|
|00000250| 20 5c 65 6c 73 65 20 5c | 69 66 5c 40 76 61 6c 20 | \else \|if\@val |
|00000260| 54 5c 6c 65 74 5c 40 76 | 61 6c 5c 40 74 65 72 6d |T\let\@v|al\@term|
|00000270| 5c 66 69 5c 66 69 7d 0a | 5c 64 65 66 5c 40 6f 72 |\fi\fi}.|\def\@or|
|00000280| 7b 5c 72 65 6c 61 78 5c | 64 65 66 5c 6e 6f 65 78 |{\relax\|def\noex|
|00000290| 70 61 6e 64 5c 40 74 65 | 72 6d 7b 54 7d 5c 65 6c |pand\@te|rm{T}\el|
|000002a0| 73 65 20 5c 64 65 66 5c | 6e 6f 65 78 70 61 6e 64 |se \def\|noexpand|
|000002b0| 5c 40 74 65 72 6d 7b 46 | 7d 5c 66 69 0a 20 5c 6e |\@term{F|}\fi. \n|
|000002c0| 6f 65 78 70 61 6e 64 5c | 40 65 6e 64 65 76 61 6c |oexpand\|@endeval|
|000002d0| 20 5c 64 65 66 5c 6e 6f | 65 78 70 61 6e 64 5c 40 | \def\no|expand\@|
|000002e0| 6f 72 6f 70 7b 54 7d 5c | 69 66 6e 75 6d 7d 0a 5c |orop{T}\|ifnum}.\|
|000002f0| 64 65 66 5c 40 61 6e 64 | 7b 5c 72 65 6c 61 78 5c |def\@and|{\relax\|
|00000300| 64 65 66 5c 6e 6f 65 78 | 70 61 6e 64 5c 40 74 65 |def\noex|pand\@te|
|00000310| 72 6d 7b 54 7d 5c 65 6c | 73 65 20 5c 64 65 66 5c |rm{T}\el|se \def\|
|00000320| 6e 6f 65 78 70 61 6e 64 | 5c 40 74 65 72 6d 7b 46 |noexpand|\@term{F|
|00000330| 7d 5c 66 69 0a 20 5c 6e | 6f 65 78 70 61 6e 64 5c |}\fi. \n|oexpand\|
|00000340| 40 65 6e 64 65 76 61 6c | 5c 64 65 66 5c 6e 6f 65 |@endeval|\def\noe|
|00000350| 78 70 61 6e 64 5c 40 6f | 72 6f 70 7b 46 7d 5c 69 |xpand\@o|rop{F}\i|
|00000360| 66 6e 75 6d 7d 0a 5c 64 | 65 66 5c 40 6e 65 67 7b |fnum}.\d|ef\@neg{|
|00000370| 31 3d 31 20 5c 66 69 20 | 5c 64 65 66 5c 6e 6f 65 |1=1 \fi |\def\noe|
|00000380| 78 70 61 6e 64 5c 40 6e | 65 67 61 74 65 7b 54 7d |xpand\@n|egate{T}|
|00000390| 5c 69 66 6e 75 6d 7d 0a | 5c 64 65 66 5c 40 6c 70 |\ifnum}.|\def\@lp|
|000003a0| 61 72 65 6e 7b 31 3d 31 | 20 5c 66 69 20 5c 62 65 |aren{1=1| \fi \be|
|000003b0| 67 69 6e 67 72 6f 75 70 | 20 5c 6e 6f 65 78 70 61 |gingroup| \noexpa|
|000003c0| 6e 64 5c 40 65 76 61 6c | 20 5c 69 66 6e 75 6d 7d |nd\@eval| \ifnum}|
|000003d0| 0a 5c 64 65 66 5c 40 72 | 70 61 72 65 6e 7b 5c 72 |.\def\@r|paren{\r|
|000003e0| 65 6c 61 78 5c 64 65 66 | 5c 6e 6f 65 78 70 61 6e |elax\def|\noexpan|
|000003f0| 64 5c 40 74 65 72 6d 7b | 54 7d 5c 65 6c 73 65 20 |d\@term{|T}\else |
|00000400| 5c 64 65 66 5c 6e 6f 65 | 78 70 61 6e 64 5c 40 74 |\def\noe|xpand\@t|
|00000410| 65 72 6d 7b 46 7d 5c 66 | 69 20 0a 20 5c 6e 6f 65 |erm{F}\f|i . \noe|
|00000420| 78 70 61 6e 64 5c 40 65 | 6e 64 65 76 61 6c 20 5c |xpand\@e|ndeval \|
|00000430| 69 66 5c 6e 6f 65 78 70 | 61 6e 64 5c 40 76 61 6c |if\noexp|and\@val|
|00000440| 20 54 5c 67 64 65 66 5c | 6e 6f 65 78 70 61 6e 64 | T\gdef\|noexpand|
|00000450| 5c 40 67 74 65 6d 70 62 | 7b 31 3d 31 7d 5c 65 6c |\@gtempb|{1=1}\el|
|00000460| 73 65 20 0a 20 5c 67 64 | 65 66 5c 6e 6f 65 78 70 |se . \gd|ef\noexp|
|00000470| 61 6e 64 5c 40 67 74 65 | 6d 70 62 7b 31 3d 30 7d |and\@gte|mpb{1=0}|
|00000480| 5c 66 69 0a 20 5c 65 6e | 64 67 72 6f 75 70 20 5c |\fi. \en|dgroup \|
|00000490| 69 66 6e 75 6d 5c 6e 6f | 65 78 70 61 6e 64 5c 40 |ifnum\no|expand\@|
|000004a0| 67 74 65 6d 70 62 7d 0a | 5c 64 65 66 5c 65 71 75 |gtempb}.|\def\equ|
|000004b0| 61 6c 23 31 23 32 7b 31 | 3d 31 20 5c 66 69 20 5c |al#1#2{1|=1 \fi \|
|000004c0| 65 64 65 66 5c 6e 6f 65 | 78 70 61 6e 64 5c 40 74 |edef\noe|xpand\@t|
|000004d0| 65 6d 70 61 7b 23 31 7d | 5c 65 64 65 66 5c 6e 6f |empa{#1}|\edef\no|
|000004e0| 65 78 70 61 6e 64 5c 40 | 74 65 6d 70 62 7b 23 32 |expand\@|tempb{#2|
|000004f0| 7d 5c 69 66 78 0a 20 5c | 6e 6f 65 78 70 61 6e 64 |}\ifx. \|noexpand|
|00000500| 5c 40 74 65 6d 70 61 5c | 6e 6f 65 78 70 61 6e 64 |\@tempa\|noexpand|
|00000510| 5c 40 74 65 6d 70 62 20 | 0a 20 5c 64 65 66 5c 6e |\@tempb |. \def\n|
|00000520| 6f 65 78 70 61 6e 64 5c | 40 74 65 6d 70 61 7b 31 |oexpand\|@tempa{1|
|00000530| 3d 31 7d 5c 65 6c 73 65 | 0a 20 5c 64 65 66 5c 6e |=1}\else|. \def\n|
|00000540| 6f 65 78 70 61 6e 64 5c | 40 74 65 6d 70 61 7b 31 |oexpand\|@tempa{1|
|00000550| 3d 30 7d 5c 66 69 20 5c | 69 66 6e 75 6d 20 5c 6e |=0}\fi \|ifnum \n|
|00000560| 6f 65 78 70 61 6e 64 5c | 40 74 65 6d 70 61 7d 0a |oexpand\|@tempa}.|
|00000570| 5c 6c 6f 6e 67 5c 64 65 | 66 5c 77 68 69 6c 65 64 |\long\de|f\whiled|
|00000580| 6f 23 31 23 32 7b 5c 69 | 66 74 68 65 6e 65 6c 73 |o#1#2{\i|fthenels|
|00000590| 65 7b 23 31 7d 7b 5c 40 | 77 68 69 6c 65 64 6f 74 |e{#1}{\@|whiledot|
|000005a0| 72 75 65 20 5c 40 77 68 | 69 6c 65 73 77 5c 69 66 |rue \@wh|ilesw\if|
|000005b0| 40 77 68 69 6c 65 64 6f | 0a 20 5c 66 69 7b 23 32 |@whiledo|. \fi{#2|
|000005c0| 5c 69 66 74 68 65 6e 65 | 6c 73 65 7b 23 31 7d 7b |\ifthene|lse{#1}{|
|000005d0| 5c 40 77 68 69 6c 65 64 | 6f 74 72 75 65 7d 7b 5c |\@whiled|otrue}{\|
|000005e0| 40 77 68 69 6c 65 64 6f | 66 61 6c 73 65 7d 7d 7d |@whiledo|false}}}|
|000005f0| 7b 7d 7d 0a 5c 6e 65 77 | 69 66 5c 69 66 40 77 68 |{}}.\new|if\if@wh|
|00000600| 69 6c 65 64 6f 0a | |iledo. | |
+--------+-------------------------+-------------------------+--------+--------+